
<div class="" style="width:480px;text-align:left;padding:5px 7px;">
	<form name="editForm" id="editForm" action="${base}/admin/show/catalog!save" method="post">
	<div class="tx_table" style="margin-bottom:5px;">
			<div class="data">
			<table>
				<colgroup width="32%"></colgroup>
				<tbody>
					<tr>
						<th>类型名称：</th>
						<td>
							<input class="Q" type="text" size="30" name="showCatalog.name" id="columnName" value="<#if showCatalog?exists><#if showCatalog.name?exists>${showCatalog.name!}</#if></#if>"/>
							<span id="columnNameTip"></span>
						</td>
					</tr>

									
				</tbody>
			</table>
		</div>
		<div class="tx_sender">
			<input class="step" name="" type="submit" value="确 定" />
			<input class="step" name="" type="reset" value="取 消" />
		</div>
	</div>
	</form>
</div>
<script>
$(function(){
        $.formValidator.initConfig({
            formid: "editForm",
            onerror: function(){
            }
        });
        $("#columnName").formValidator({
            onshow: "请输入名称",
            oncorrect: "名称输入正确",
            onfocus: "请输入名称"
        }).inputValidator({
            min: 1,
            onerror: "名称不能为空"
        }).inputValidator({
            max: 40,
            onerror: "名称不能超过40字符"
        });

});

